]> dgit.raspbian.org Git - gnome-shell.git/commit
cleanup: Replace deprecated String.prototype.substr()
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Mar 2024 19:20:49 +0000 (20:20 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 19 Apr 2024 17:38:37 +0000 (17:38 +0000)
commitdf50c2dfc659400ed68a884eea0b91de2575c98d
tree5b9a8c023c226d926d49febec7cf8a8870c9c923
parent193b6c129e7b86aa03cf7488d6e79b58ad2a2d3b
cleanup: Replace deprecated String.prototype.substr()

The method is documented as deprecated:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr

Switch to the non-deprecated substring() method.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3234>
js/misc/dbusUtils.js
js/ui/calendar.js
js/ui/messageList.js
js/ui/runDialog.js